package com.youxin.cpcenter.model;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.youxin.foundation.utils.DateUtil;

public class TbEntMemberIdentify {
	/** ID */
	private Long id;

	/** 会员ID */
	@JsonProperty("member_id")
	private Long memberId;

	/** 用户名称 */
	@JsonProperty("member_name")
	private String memberName;

	/** 企业UID */
	@JsonProperty("company_uid")
	private String companyUid;

	/** 企业全称 */
	@JsonProperty("full_name")
	private String fullName;

	/** 认证状态: 0-未认证 1-已认证 2-已解除 */
	private Short status;

	/** 真实姓名 */
	@JsonProperty("real_name")
	private String realName;

	/** 企业版认证类型：0-普通 1-VIP 2-试用 */
	@JsonProperty("identy_type")
	private Short identyType;

	/** 身份证七牛云链接 */
	@JsonProperty("id_card_url")
	private String idCardUrl;

	/** 营业执照七牛云链接 */
	@JsonProperty("business_license_url")
	private String businessLicenseUrl;

	/** 职位 */
	private String position;

	/** 手机号码 */
	private String mobile;

	/** 添加时间 */
	@JsonIgnore
	private Long addTime;

	/** 更新时间 */
	@JsonIgnore
	private Long updateTime;

	/** 会员关联企业 */
	@JsonIgnore
	private Long entMemberId;

	@JsonProperty("create_time")
	public String getCreateTime() {
		return DateUtil.dateToString(new Date(addTime));
	}
	
	

	public String getRealName() {
		return realName;
	}



	public void setRealName(String realName) {
		this.realName = realName;
	}



	public String getPosition() {
		return position;
	}



	public void setPosition(String position) {
		this.position = position;
	}



	public String getMobile() {
		return mobile;
	}



	public void setMobile(String mobile) {
		this.mobile = mobile;
	}



	public Long getEntMemberId() {
		return entMemberId;
	}

	public void setEntMemberId(Long entMemberId) {
		this.entMemberId = entMemberId;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getMemberId() {
		return memberId;
	}

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	public String getMemberName() {
		return memberName;
	}

	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}

	public String getCompanyUid() {
		return companyUid;
	}

	public void setCompanyUid(String companyUid) {
		this.companyUid = companyUid == null ? null : companyUid.trim();
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName == null ? null : fullName.trim();
	}

	public Short getStatus() {
		return status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}

	public Short getIdentyType() {
		return identyType;
	}

	public void setIdentyType(Short identyType) {
		this.identyType = identyType;
	}

	public String getIdCardUrl() {
		return idCardUrl;
	}

	public void setIdCardUrl(String idCardUrl) {
		this.idCardUrl = idCardUrl == null ? null : idCardUrl.trim();
	}

	public String getBusinessLicenseUrl() {
		return businessLicenseUrl;
	}

	public void setBusinessLicenseUrl(String businessLicenseUrl) {
		this.businessLicenseUrl = businessLicenseUrl == null ? null : businessLicenseUrl.trim();
	}

	public Long getAddTime() {
		return addTime;
	}

	public void setAddTime(Long addTime) {
		this.addTime = addTime;
	}

	public Long getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}
}